package com.recSys.inter;

import com.recSys.model.RecResult;
import org.apache.ibatis.annotations.Param;

public interface RecResultMapper {
    int deleteByPrimaryKey(Integer ID);

    int insert(RecResult record);

    int insertSelective(RecResult record);

    RecResult selectByPrimaryKey(Integer ID);

    int updateByPrimaryKeySelective(RecResult record);

    int updateByPrimaryKey(RecResult record);

    RecResult selectByEventNode(@Param("bpID") Integer bpID, @Param("itemType") Integer itemType);

    int updateByItemType(@Param("bpID") Integer bpID, @Param("maxItemTypeIndex") Integer maxItemTypeIndex);
}